﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_dri_student_Edit" %>

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="student-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">学员编号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Num" class="easyui-textbox" data-options="required:true" value="<%= model.Num %>" style="background: #eeeeee;" readonly />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">姓名</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Name" class="easyui-textbox" data-options="required:true" value="<%= model.Name %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">性别</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="sex" name="Sex" data-options="required:false" value="<%= model.Sex %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">证件类型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="certificateType" name="CertificateType" data-options="required:false" value="<%= model.CertificateType %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">证件编号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="CertificateNum" class="easyui-textbox" data-options="required:false" value="<%= model.CertificateNum %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">报名日期</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="SignUpDate" class="easyui-datebox" data-options="required:false" value="<%= model.SignUpDate %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">户籍所在地</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Registered" class="easyui-textbox" data-options="required:false" value="<%= model.Registered %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">代办居住证</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="IsResidencePermit" type="checkbox" <%= model.IsResidencePermit.HasValue ? (model.IsResidencePermit.Value ? "checked" : "") : "" %> />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">申请类型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="applyType" name="ApplyType" data-options="required:false" value="<%= model.ApplyType %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">手机</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Mobile" class="easyui-textbox" data-options="required:false,validType:'mobile'" value="<%= model.Mobile %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">联系电话</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Telephone" class="easyui-textbox" data-options="required:false" value="<%= model.Telephone %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">邮箱</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Email" class="easyui-textbox" data-options="required:false" value="<%= model.Email %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">企鹅QQ</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="QQ" class="easyui-textbox" data-options="required:false" value="<%= model.QQ %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">推荐人</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Recommender" class="easyui-textbox" data-options="required:false" value="<%= model.Recommender %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">体检</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="BodyCheck" class="easyui-textbox" data-options="required:false" value="<%= model.BodyCheck %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">是否欠款</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="IsArrears" type="checkbox" <%= model.IsArrears.HasValue ? (model.IsArrears.Value ? "checked" : "") : "" %> />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">欠款情况</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="ArrearsCondition" class="easyui-textbox" data-options="required:false" value="<%= model.ArrearsCondition %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">VIP学员</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="IsVip" type="checkbox" <%= model.IsVip.HasValue ? (model.IsVip.Value ? "checked" : "") : "" %> />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">已取回身份证</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="IsReturnCertificate" type="checkbox" <%= model.IsReturnCertificate.HasValue ? (model.IsReturnCertificate.Value ? "checked" : "") : "" %> />
                    </div>
                </td>
                <td class="th">
                    <div class="datagrid-cell">备注</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Description" class="easyui-textbox" data-options="required:false" value="<%= model.Description %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">
                        <label style="color: blue;">受理编号</label>
                    </div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="AcceptingNum" class="easyui-textbox" data-options="required:false" value="<%= model.AcceptingNum %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">相片</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <%= ToolButton("icon-images","上传","Student.AddPhoto")
                        + ToolButton("icon-eye","查看","Student.ShowPhoto")
                        + ToolButton("icon-busy","清除","Student.DeletePhoto") %>
                        <input id="student-photo" name="Photo" type="hidden" value="<%= model.Photo %>" />
                    </div>
                </td>
            </tr>
        </table>
        <input name="ID" type="hidden" value="<%= model.ID %>" />
        <input name="IsVisible" type="hidden" value="<%= model.IsVisible %>" />
        <input name="InsertTime" type="hidden" value="<%= model.InsertTime %>" />
        <input name="UpdateTime" type="hidden" value="<%= model.UpdateTime %>" />
    </form>
</div>
